<?php 

/**
*
*
*
**/

?>
<?php
	echo $tNGs->getLoginMsg();
?>
<?php
	echo $tNGs->getErrorMsg();
?>
<form method="post" id="form1" class="KT_tngformerror" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>">
  <table cellpadding="2" cellspacing="0" class="KT_tngtable">
    <tr>
      <td class="KT_th"><label for="kt_login_user">Rut:</label></td>
      <td><input type="text" name="kt_login_user" id="kt_login_user" value="<?php echo KT_escapeAttribute($rscustom->Fields('kt_login_user')); ?>" size="32" />
          <?php echo $tNGs->displayFieldHint("kt_login_user");?>
<?php echo $tNGs->displayFieldError("custom", "kt_login_user"); ?> </td>
    </tr>
    <tr>
      <td class="KT_th"><label for="kt_login_password">Clave:</label></td>
      <td><input type="password" name="kt_login_password" id="kt_login_password" value="" size="32" />
          <?php echo $tNGs->displayFieldHint("kt_login_password");?>
<?php echo $tNGs->displayFieldError("custom", "kt_login_password"); ?> </td>
    </tr>
    <tr>
      <td class="KT_th"><label for="kt_login_rememberme">Recordarme:</label></td>
      <td><input  <?php if (!(strcmp(KT_escapeAttribute($rscustom->Fields('kt_login_rememberme')),"1"))) {echo "checked";} ?> type="checkbox" name="kt_login_rememberme" id="kt_login_rememberme" value="1" />
          <?php echo $tNGs->displayFieldError("custom", "kt_login_rememberme"); ?> </td>
    </tr>
    <tr class="KT_buttons">
      <td colspan="2"><input type="submit" name="kt_login1" id="kt_login1" value="Ingresar" />
      </td>
    </tr>
  </table>
  <a href="?mod=password">Olvido su clave ?</a>
</form>
<p>&nbsp;</p>